package com.soyotec.algorithm.context;

import java.io.File;
import java.util.List;
import java.util.Map;

public interface OptAlgorithmContext {
    File getWorkDir();

    File[] loadOtherFiles();

    int runSystemCommand(String... args) throws Exception;

    int runSystemCommand(String[] command, String[] env) throws Exception;

    int runSystemCommand(String[] command, String[] env, File file) throws Exception;

    void loadDll();

    void loadDll(List<String> dllNames);

    Map<String,List<String>> getPidMap();

    String getInstanceId();
}
